﻿namespace C01_0227
{
    internal class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Hello, World!");

            for (int i = 0; i < 10; i++)
            {
                Console.WriteLine("for循环：{0}", i);
            }

            int a = 0;
            while (a < 10)
            {
                Console.WriteLine("while循环：{0}", a);
                a++;
            }

            int b = 0;
            do {
                Console.WriteLine("do while循环：{0}", b);
                b++;
            } while (b < 10);

            //int str = Console.Read();
            //Console.WriteLine((char)str);

            Console.WriteLine("Press any key to continue...");
            Console.ReadKey();
        }
    }
}
